Skip to content

feat(cli): add builds command#281

Merged
jsfez merged 1 commit intomainfrom
jeremy/arg-314-argos-cli
Mar 31, 2026
Merged

feat(cli): add builds command#281
jsfez merged 1 commit intomainfrom
jeremy/arg-314-argos-cli

Conversation

@jsfez
Copy link
Copy Markdown
Contributor

@jsfez jsfez commented Mar 29, 2026

No description provided.

@jsfez jsfez requested review from a team and gregberge and removed request for a team March 29, 2026 17:48
@linear
Copy link
Copy Markdown

linear bot commented Mar 29, 2026

ARG-314 Argos CLI

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
argos-js-sdk-reference Ready Ready Preview, Comment Mar 31, 2026 10:27am

Request Review

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new argos builds CLI surface to inspect builds and list snapshot diffs, backed by a new API-client schema endpoint and exercised via CLI e2e coverage in CI.

Changes:

  • Add argos builds get and argos builds snapshots commands (with JSON output + filtering).
  • Extend API client schema with /project/builds/number/{buildNumber} and wire CLI to use @argos-ci/api-client.
  • Add CLI e2e coverage for the new command and plumb ARGOS_BUILD_NUMBER through Turbo + GitHub Actions.

Reviewed changes

Copilot reviewed 8 out of 10 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
turbo.json Passes env vars into e2e Turbo task (now includes ARGOS_BUILD_NUMBER).
pnpm-lock.yaml Adds @argos-ci/api-client dependency for CLI; lockfile resolution changed for vitest peer set.
packages/gitlab/src/statuses.ts Tweaks log message wording for GitLab status sync.
packages/cli/src/index.ts Registers the new builds command with the CLI program.
packages/cli/src/commands/builds.ts Implements builds get and builds snapshots command behavior.
packages/cli/package.json Adds api-client dependency; runs new builds e2e script in CLI e2e pipeline.
packages/cli/e2e/builds.js Adds e2e coverage for builds command (auth, JSON, filtering, error cases).
packages/api-client/src/schema.ts Adds OpenAPI-typed endpoint for fetching a build by build number.
.gitignore Adds .DS_Store and fixes indentation.
.github/workflows/ci.yml Provides ARGOS_BUILD_NUMBER to CI e2e job.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jsfez jsfez force-pushed the jeremy/arg-314-argos-cli branch from 8e333e9 to b83d6f3 Compare March 30, 2026 12:35
@jsfez jsfez force-pushed the jeremy/arg-314-argos-cli branch 2 times, most recently from 413a25c to b1b1849 Compare March 30, 2026 14:59
@jsfez jsfez force-pushed the jeremy/arg-314-argos-cli branch from b1b1849 to 538d34c Compare March 30, 2026 15:03
@jsfez jsfez force-pushed the jeremy/arg-314-argos-cli branch from 538d34c to 8e7ec98 Compare March 30, 2026 15:33
@jsfez jsfez force-pushed the jeremy/arg-314-argos-cli branch from 8e7ec98 to 757d233 Compare March 30, 2026 15:54
@jsfez jsfez force-pushed the jeremy/arg-314-argos-cli branch from 757d233 to a540409 Compare March 30, 2026 15:56
@jsfez jsfez force-pushed the jeremy/arg-314-argos-cli branch from a540409 to 4abfaf5 Compare March 30, 2026 16:04
@jsfez jsfez force-pushed the jeremy/arg-314-argos-cli branch from 4abfaf5 to 9f53061 Compare March 30, 2026 17:22
@jsfez jsfez force-pushed the jeremy/arg-314-argos-cli branch from 9f53061 to c9e729c Compare March 30, 2026 17:35
@jsfez jsfez requested a review from gregberge March 31, 2026 09:39
@jsfez jsfez force-pushed the jeremy/arg-314-argos-cli branch from 4e4db73 to b2fbf3e Compare March 31, 2026 10:26
@jsfez jsfez merged commit 061b0b6 into main Mar 31, 2026
2 checks passed
@jsfez jsfez deleted the jeremy/arg-314-argos-cli branch March 31, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants